package com.sgcc.sx.pmos.e_sx_mall.bean;

import android.text.TextUtils;

import java.io.Serializable;
import java.util.List;

public class InvitationListBean implements Serializable {


    private String msg;
    private int code;
    private DataDTO data;

    public String getMsg() {
        return TextUtils.isEmpty(msg) ? "" : msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO implements Serializable {
        private int total;
        private List<ListDTO> list;
        private int pageNum;
        private int pageSize;
        private int size;
        private int startRow;
        private int endRow;
        private int pages;
        private int prePage;
        private int nextPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private List<Integer> navigatepageNums;
        private int navigateFirstPage;
        private int navigateLastPage;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public int getNavigateFirstPage() {
            return navigateFirstPage;
        }

        public void setNavigateFirstPage(int navigateFirstPage) {
            this.navigateFirstPage = navigateFirstPage;
        }

        public int getNavigateLastPage() {
            return navigateLastPage;
        }

        public void setNavigateLastPage(int navigateLastPage) {
            this.navigateLastPage = navigateLastPage;
        }

        public static class ListDTO implements Serializable {
            private String guid;
            private String membersUsersId;
            private String membersUsersName;
            private String invitationName;
            private int stauts;
            private String contactName;
            private String contactPhone;
            private String intentionStartDate;
            private String intentionEndDate;
            private String intentionMonthNum;
            private String yearEnergyAvg;
            private String userMonthEnergy;
            private int isDayparting;
            private int isPredeterminedEnergy;
            private int isInterlock;
            private int terminationType;
            private String curveStartDate;
            private String curveEndDate;
            private String upStartRatio;
            private String upEndRatio;
            private String downStartRatio;
            private String downEndRatio;
            private String isAllowchange;
            private String intentionPackageType;
            private String baseIsSubsection;
            private String baseStartOffset;
            private String baseEndOffset;
            private String baseIsFixedprice;
            private String baseStartFixedprice;
            private String baseEndFixedprice;
            private String baseFixedpriceId;
            private String baseIsDifprice;
            private String baseStartDifprice;
            private String baseEndDifprice;
            private String floatIsSubsection;
            private String floatStartOffset;
            private String floatEndOffset;
            private String floatIsFixedprice;
            private String floatStartFixedprice;
            private String floatEndFixedprice;
            private String floatFixedpriceId;
            private String floatIsDifprice;
            private String floatStartDifprice;
            private String floatEndDifprice;
            private String membersSdCredit;
            private String membersSdType;
            private String createDate;
            private String updateDate;
            private String updatepersonId;
            private String updatepersonName;
            private String remark;
            private String durationDay;

            public String getDurationDay() {
                return durationDay + "日";
            }

            public String getGuid() {
                return guid;
            }

            public void setGuid(String guid) {
                this.guid = guid;
            }

            public String getMembersUsersId() {
                return membersUsersId;
            }

            public void setMembersUsersId(String membersUsersId) {
                this.membersUsersId = membersUsersId;
            }

            public String getMembersUsersName() {
                return membersUsersName;
            }

            public void setMembersUsersName(String membersUsersName) {
                this.membersUsersName = membersUsersName;
            }

            public String getInvitationName() {
                return invitationName;
            }

            public void setInvitationName(String invitationName) {
                this.invitationName = invitationName;
            }

            public int getStauts() {
                return stauts;
            }

            public String getStautsStr() {
                return getStauts() == 1 ? "已发布" :
                        "未发布";//0未发布，1已发布
            }

            public void setStauts(int stauts) {
                this.stauts = stauts;
            }

            public String getContactName() {
                return contactName;
            }

            public void setContactName(String contactName) {
                this.contactName = contactName;
            }

            public String getContactPhone() {
                return contactPhone;
            }

            public void setContactPhone(String contactPhone) {
                this.contactPhone = contactPhone;
            }

            public String getIntentionStartDate() {
                return intentionStartDate;
            }

            public void setIntentionStartDate(String intentionStartDate) {
                this.intentionStartDate = intentionStartDate;
            }

            public String getIntentionEndDate() {
                return intentionEndDate;
            }

            public void setIntentionEndDate(String intentionEndDate) {
                this.intentionEndDate = intentionEndDate;
            }

            public String getIntentionMonthNum() {
                return intentionMonthNum;
            }

            public void setIntentionMonthNum(String intentionMonthNum) {
                this.intentionMonthNum = intentionMonthNum;
            }

            public String getYearEnergyAvg() {
                return yearEnergyAvg;
            }

            public void setYearEnergyAvg(String yearEnergyAvg) {
                this.yearEnergyAvg = yearEnergyAvg;
            }

            public String getUserMonthEnergy() {
                return userMonthEnergy;
            }

            public void setUserMonthEnergy(String userMonthEnergy) {
                this.userMonthEnergy = userMonthEnergy;
            }

            public int getIsDayparting() {
                return isDayparting;
            }

            public String getIsDaypartingStr() {
                return getIsDayparting() == 1 ? "是" :
                        getIsDayparting() == 2 ? "否" : "不限";//是否分时段（0不限，1是，2否）
            }

            public String getIsPredeterminedEnergyStr() {
                return getIsPredeterminedEnergy() == 1 ? "是" :
                        getIsPredeterminedEnergy() == 2 ? "否" : "不限";//是否约定电量（0不限，1是，2否）
            }

            public String getIsInterlockStr() {
                return getIsInterlock() == 1 ? "是" :
                        getIsInterlock() == 2 ? "否" : "不限";//价格联动（0不限，1是，2否）
            }

            public String getTerminationTypeStr() {
                return getTerminationType() == 1 ? "支付违约金解约" :
                        getTerminationType() == 2 ? "双方协商解约" : "不限";//解约方式（0不限，1支付违约金解约，2双方协商解约）
            }

            public void setIsDayparting(int isDayparting) {
                this.isDayparting = isDayparting;
            }

            public int getIsPredeterminedEnergy() {
                return isPredeterminedEnergy;
            }

            public void setIsPredeterminedEnergy(int isPredeterminedEnergy) {
                this.isPredeterminedEnergy = isPredeterminedEnergy;
            }

            public int getIsInterlock() {
                return isInterlock;
            }

            public void setIsInterlock(int isInterlock) {
                this.isInterlock = isInterlock;
            }

            public int getTerminationType() {
                return terminationType;
            }

            public void setTerminationType(int terminationType) {
                this.terminationType = terminationType;
            }

            public String getCurveStartDate() {
                return curveStartDate;
            }

            public void setCurveStartDate(String curveStartDate) {
                this.curveStartDate = curveStartDate;
            }

            public String getCurveEndDate() {
                return curveEndDate;
            }

            public void setCurveEndDate(String curveEndDate) {
                this.curveEndDate = curveEndDate;
            }

            public String getUpStartRatio() {
                return upStartRatio;
            }

            public void setUpStartRatio(String upStartRatio) {
                this.upStartRatio = upStartRatio;
            }

            public String getUpEndRatio() {
                return upEndRatio;
            }

            public void setUpEndRatio(String upEndRatio) {
                this.upEndRatio = upEndRatio;
            }

            public String getDownStartRatio() {
                return downStartRatio;
            }

            public void setDownStartRatio(String downStartRatio) {
                this.downStartRatio = downStartRatio;
            }

            public String getDownEndRatio() {
                return downEndRatio;
            }

            public void setDownEndRatio(String downEndRatio) {
                this.downEndRatio = downEndRatio;
            }

            public String getIsAllowchange() {
                return isAllowchange;
            }

            public void setIsAllowchange(String isAllowchange) {
                this.isAllowchange = isAllowchange;
            }

            public String getIntentionPackageType() {
                return intentionPackageType;
            }

            public void setIntentionPackageType(String intentionPackageType) {
                this.intentionPackageType = intentionPackageType;
            }

            public String getBaseIsSubsection() {
                return baseIsSubsection;
            }

            public void setBaseIsSubsection(String baseIsSubsection) {
                this.baseIsSubsection = baseIsSubsection;
            }

            public String getBaseStartOffset() {
                return baseStartOffset;
            }

            public void setBaseStartOffset(String baseStartOffset) {
                this.baseStartOffset = baseStartOffset;
            }

            public String getBaseEndOffset() {
                return baseEndOffset;
            }

            public void setBaseEndOffset(String baseEndOffset) {
                this.baseEndOffset = baseEndOffset;
            }

            public String getBaseIsFixedprice() {
                return baseIsFixedprice;
            }

            public void setBaseIsFixedprice(String baseIsFixedprice) {
                this.baseIsFixedprice = baseIsFixedprice;
            }

            public String getBaseStartFixedprice() {
                return baseStartFixedprice;
            }

            public void setBaseStartFixedprice(String baseStartFixedprice) {
                this.baseStartFixedprice = baseStartFixedprice;
            }

            public String getBaseEndFixedprice() {
                return baseEndFixedprice;
            }

            public void setBaseEndFixedprice(String baseEndFixedprice) {
                this.baseEndFixedprice = baseEndFixedprice;
            }

            public String getBaseFixedpriceId() {
                return baseFixedpriceId;
            }

            public void setBaseFixedpriceId(String baseFixedpriceId) {
                this.baseFixedpriceId = baseFixedpriceId;
            }

            public String getBaseIsDifprice() {
                return baseIsDifprice;
            }

            public void setBaseIsDifprice(String baseIsDifprice) {
                this.baseIsDifprice = baseIsDifprice;
            }

            public String getBaseStartDifprice() {
                return baseStartDifprice;
            }

            public void setBaseStartDifprice(String baseStartDifprice) {
                this.baseStartDifprice = baseStartDifprice;
            }

            public String getBaseEndDifprice() {
                return baseEndDifprice;
            }

            public void setBaseEndDifprice(String baseEndDifprice) {
                this.baseEndDifprice = baseEndDifprice;
            }

            public String getFloatIsSubsection() {
                return floatIsSubsection;
            }

            public void setFloatIsSubsection(String floatIsSubsection) {
                this.floatIsSubsection = floatIsSubsection;
            }

            public String getFloatStartOffset() {
                return floatStartOffset;
            }

            public void setFloatStartOffset(String floatStartOffset) {
                this.floatStartOffset = floatStartOffset;
            }

            public String getFloatEndOffset() {
                return floatEndOffset;
            }

            public void setFloatEndOffset(String floatEndOffset) {
                this.floatEndOffset = floatEndOffset;
            }

            public String getFloatIsFixedprice() {
                return floatIsFixedprice;
            }

            public void setFloatIsFixedprice(String floatIsFixedprice) {
                this.floatIsFixedprice = floatIsFixedprice;
            }

            public String getFloatStartFixedprice() {
                return floatStartFixedprice;
            }

            public void setFloatStartFixedprice(String floatStartFixedprice) {
                this.floatStartFixedprice = floatStartFixedprice;
            }

            public String getFloatEndFixedprice() {
                return floatEndFixedprice;
            }

            public void setFloatEndFixedprice(String floatEndFixedprice) {
                this.floatEndFixedprice = floatEndFixedprice;
            }

            public String getFloatFixedpriceId() {
                return floatFixedpriceId;
            }

            public void setFloatFixedpriceId(String floatFixedpriceId) {
                this.floatFixedpriceId = floatFixedpriceId;
            }

            public String getFloatIsDifprice() {
                return floatIsDifprice;
            }

            public void setFloatIsDifprice(String floatIsDifprice) {
                this.floatIsDifprice = floatIsDifprice;
            }

            public String getFloatStartDifprice() {
                return floatStartDifprice;
            }

            public void setFloatStartDifprice(String floatStartDifprice) {
                this.floatStartDifprice = floatStartDifprice;
            }

            public String getFloatEndDifprice() {
                return floatEndDifprice;
            }

            public void setFloatEndDifprice(String floatEndDifprice) {
                this.floatEndDifprice = floatEndDifprice;
            }

            public String getMembersSdCredit() {
                return membersSdCredit;
            }

            public void setMembersSdCredit(String membersSdCredit) {
                this.membersSdCredit = membersSdCredit;
            }

            public String getMembersSdType() {
                return membersSdType;
            }

            public void setMembersSdType(String membersSdType) {
                this.membersSdType = membersSdType;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public String getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(String updateDate) {
                this.updateDate = updateDate;
            }

            public String getUpdatepersonId() {
                return updatepersonId;
            }

            public void setUpdatepersonId(String updatepersonId) {
                this.updatepersonId = updatepersonId;
            }

            public String getUpdatepersonName() {
                return updatepersonName;
            }

            public void setUpdatepersonName(String updatepersonName) {
                this.updatepersonName = updatepersonName;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }
        }
    }
}
